<?php echo form_open_multipart('admin/hoa/xulythem', array('id'=>'form')); ?>
<fieldset id="personal">
	<legend>THÔNG TIN HOA</legend>
    	
        <label for="lastname">Tên hoa : </label> 
        <input name="tenhoa" id="tenhoa" type="text" tabindex="1" />
        <br>
        
         <label for="lastname">Giá : </label> 
        <input name="gia" id="gia" type="text" tabindex="2" />
        <br>
        
        <label for="lastname">Số lượng : </label> 
        <input name="soluong" id="soluong" type="text" tabindex="3" />
        <br>
        
        <label for="lastname">Hình ảnh : </label> 
        <input name="hinhanh" id="hinhanh" type="file" tabindex="4"/>
        <br>
        
        <label for="lastname">Mô tả : </label> 
        <textarea name="mota" tabindex="5" cols="10" rows="5"></textarea>
        <br><br>        
        
        <label for="lastname">Hiển thị : </label> 
        <input name="hienthi" id="hienthi" type="checkbox" tabindex="2" value="true" checked="checked" />
        
         <br>
        <label for="lastname">Danh mục : </label>
        <select name="madm">
        <?php 
			foreach($dsdm as $dm)
				echo '<option value="'.$dm->madm.'">'.$dm->tendm.'</option>';
		?>        
        </select>
        
                                
   </fieldset>
                      
   <div align="center">
   	<input id="button1" type="submit" value="Save" /> 
                      <input id="button2" type="reset" />
                      </div>
                    </form>